<?php
include_once('local/database.php');
class mod_login extends database
 {
function login($sql)
    {
       $this->setQuery($sql);
	   $result = $this->LoadAllRow();
	   $this->disconnect();
	   return $result;
   	}
function view($sql)
    {
       $this->setQuery($sql);
	   $result = $this->LoadAllRow();
	   $this->disconnect();
	   return $result;
   	}
 }
?> 